/******************************************************************************
 * Copyright (C) 2017 Chengdu Dlhd information industry co. LTD.
 * All Rights Reserved.
 * 本软件为成都顶联互动信息产业有限公司开发研制。未经本公司正式书面同意，其他任何个人、团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package net.dgg.dggcloud.service.iboss.entity;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * <p>@Title 生产节点表</p>
 * <p>@Description 类功能描述</p>
 * <p>@Version 1.0.0 版本号</p>
 * <p>@author @author 孙上峰</p>
 * <p>@date 2017-11-27 14:25:38 创建日期</p>
 * <p>Copyright © dgg group.All Rights Reserved. 版权信息</p>
 */
@Entity
@Table(name = "sc_product_node")
public class ScProFlowNode extends BaseEntity {

    //数据库表名
    public static final String TABLE_NAME = "sc_product_node";

    //节点名字
    @Column(name = "name")
    private String name;

    //办理周期
    @Column(name = "handledate")
    private Integer handledate;

    //关联字段ids
    @Column(name = "relationfieldids")
    private String relationfieldids;

    //关联字段
    @Column(name = "relationfield")
    private String relationfield;

    //是否关键节点
    @Column(name = "is_key")
    private Integer isKey;

    //排序
    @Column(name = "sort")
    private Integer sort;

    //流程id
    @Column(name = "process_id")
    private Long processId;

    //是否禁用（1;启用，2：禁用）
    @Column(name = "flag")
    private Integer flag;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIsKey() {
        return isKey;
    }

    public void setIsKey(Integer isKey) {
        this.isKey = isKey;
    }

    public Long getProcessId() {
        return processId;
    }

    public void setProcessId(Long processId) {
        this.processId = processId;
    }

    public String getRelationfieldids() {
        return relationfieldids;
    }

    public void setRelationfieldids(String relationfieldids) {
        this.relationfieldids = relationfieldids;
    }

    public String getRelationfield() {
        return relationfield;
    }

    public void setRelationfield(String relationfield) {
        this.relationfield = relationfield;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getHandledate() {
        return handledate;
    }

    public void setHandledate(Integer handledate) {
        this.handledate = handledate;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }
}
